package com.justgame.project.cloud.base.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.io.Serializable;

/**
 * 目标数据源 : MongoDB
 */

@Data
@Builder
@Document("mg_request_log")
@AllArgsConstructor
@NoArgsConstructor
public class MgRequestLog implements Serializable {

    @Id
    private String id;

    private Long userId;

    private String ip;

    private String address;

    private String time;

    private String platform;

    private Long costTime;

    private String api;
}
